home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr30 / blank16b.zip / BLANKS.DOC < prev    next >
Text File  |  1993-05-11  |  18KB  |  365 lines

  1.  
  2.                  ------------------------------------------- 
  3.                     For personal, noncommercial use only     
  4.                     May not be sold - All rights reserved    
  5.                  ------------------------------------------- 
  6.  
  7.                  Copyright (C) 1988, 1989 by FM de Monasterio
  8.  
  9.                             BLANKs  version 1.6b
  10.                             --------------------
  11.  
  12.  
  13.          BLANKs is an MS-DOS/PC-DOS based, resident program that blanks the
  14.     screen after a preselected interval in the absence of a keypress.  This
  15.     interval can be selected from 1 to 60 minutes.  A selection higher than
  16.     60 minutes is set to 60.  Selecting 0 minutes disables screen blanking;
  17.     blanking can be enabled by re-invoking with an interval of 1 to 60 min.
  18.  
  19.     BLANKs is a TSR.  When resident, it uses less than 700 bytes; it can be
  20.     invoked repeatedly to change its settings without resulting in multiple
  21.     copies to memory.  BLANKs intercepts interrupts 8h, 9h, and 10h, and is
  22.     a well behaved resident, intended to run under MS-DOS or PC-DOS version
  23.     2.0 or later.
  24.  
  25.  
  26.                              ----------------
  27.  
  28.     OPERATION:
  29.  
  30.        Screen blanking is obtained by direct commands to the hardware (video
  31.     controller) to turn off/on the video signal.  This is a fast method that
  32.     operates successfully in the IBM PC/XT, PC/AT and in some IBM compatible
  33.     computers installed with MDA, CGA, EGA, VGA, and Hercules video adapters
  34.     or with IBM compatible adapters from other manufacturers.
  35.  
  36.  
  37.      NOTICE   In some nonIBM microcomputers the program may not work and it
  38.      ------   should NOT be used with other video adapter types unless they
  39.               are compatible with the IBM adapter at the register level (as
  40.               it is possible that some of these adapters might be damaged).
  41.  
  42.  
  43.     The resident component of BLANKs intercepts interrupts 8, 9, 10h and 33h
  44.     that subserve respectively the time-of-day, keyboard, BIOS video and (for
  45.     programs following the Microsoft's Mouse format) mouse operations.
  46.  
  47.     BLANKs will fail to operate if access to interrupts 8 and 9 is denied by
  48.     another program or resident loaded after BLANKs. This might occur with a
  49.     few communication and (older) word processing programs.
  50.  
  51.  
  52.   - Interrupt 8 is called 18.2 times/s to update the computer time-of-the-day
  53.     counter (which is stored in the BIOS data area).  Since a timer interrupt
  54.     can thus only operate within a period of about 55 ms or less (*including*
  55.     the overhead of DOS and other programs hooking on the timer), the program
  56.     uses direct commands to the hardware, written in assembly language, which
  57.     are issued (when needed) after the original timer interrupt is served.
  58.  
  59.   - Interrupt 9 is called when a key on the keyboard is pressed (or released).
  60.     When the hotkey service is enabled (see switch /H below), BLANKs triggers
  61.     blanking of the screen when the default hotkey combination (CTRL-B in non-
  62.     shareware versions) is pressed.  The hotkey code is then removed from the
  63.     keyboard buffer.  Other keys are passed along for keyboard processing and,
  64.     if a blanking had occurred, the screen is restored.
  65.  
  66.   - Interrupt 10h is called to mediate a number of video subfunctions. Because
  67.     such functions are comparatively slow, many programs do not use BIOS video
  68.     calls, but make direct writes to the screen (which are not detected by the
  69.     resident part of BLANKs).
  70.  
  71.   - Interrupt 33h is used in Microsoft's implementation of calls to the Mouse.
  72.     Other drivers, compatible with the Microsoft Mouse format, also implement
  73.     at least some of these calls.  Some graphics programs, however, do not use
  74.     these calls, and their resulting video activity is not detected by BLANKs.
  75.  
  76.  
  77.        NOTICE    To be able to monitor interrupt 33h, BLANKs must be installed
  78.        ------    *after* the mouse driver program as otherwise the driver will
  79.                  not allow access to the interrupt.  Also note that the driver
  80.                  for a well known mouse, upon its installation, can freeze the
  81.                  computer if interrupt 33h is found to be in use; this problem
  82.                  does not occur with other drivers, e.g. Logitech's MOUSE.COM.
  83.  
  84.  
  85.     Bypassing Interrupts:
  86.  
  87.     While installed, BLANKs bypasses the interrupt 8 when a blanking interval
  88.     of 0 minute has been selected (see below).   Interrupt 9 is bypassed only
  89.     when both an interval of 0 minute and the switch /H- (see below) have been
  90.     selected.  When /H- has been selected along with a nonzero interval, just
  91.     the hotkey service of interrupt 9 is bypassed.  Hence, these two interrupt
  92.     activities of BLANKs are bypassed by the "0 /H-" selection; this may be of
  93.     use in case of testing potential conflicts with other programs.
  94.  
  95.     Interrupts 10h and 33h are not intercepted when "/K[+]" is specified; when
  96.     this switch is not specified, these two interrupts are intercepted but not
  97.     monitored unless the switch "/V[+]" is specified.
  98.  
  99.     (In the shareware version, where cloning is available, if a cloned version
  100.     has been created with /K+ as the default condition, these 2 interrupts are
  101.     bypassed irrespective of whether switches "/K-" and/or "/V+" are specified
  102.     or not.  To access video activity monitoring, the program must be recloned
  103.     with a command line including the "/K- /C" switch selections.)
  104.  
  105.  
  106.                              ----------------
  107.  
  108.    USAGE:
  109.  
  110.     From the DOS command line or from a batch file, BLANKs is installed (or,
  111.     when already installed, modified) by the command:
  112.     
  113.                            BLANKs [?] [min] [/switches]
  114.  
  115.  
  116.         [?]   Invokes a brief help and status display, identifying the type
  117.               of adapter for which the program is configured, the current
  118.               adapter, and program settings (if installed).
  119.  
  120.               Pressing key <F1> displays further help on using the program.
  121.               If the program has not been installed, pressing key <D> shows
  122.               the default settings.
  123.  
  124.  
  125.        [min]  Timed blanking interval in minutes. These are the minutes that
  126.               the program waits before blanking the screen in the absence of
  127.               keyboard activity.   Valid selections are 0 or a number in the
  128.               range of 1 to 60.   The selection of a 0-min interval disables
  129.               the timed blanking of the screen; the selection of an interval
  130.               larger than 60 defaults to 60 minutes for 2 digit inputs or to
  131.               the value (in the valid range) of the first 2 digits in inputs
  132.               containing larger numbers.    
  133.  
  134.               Null interval defaults to 3 minutes.  This value may be changed
  135.               by cloning the program (see below).
  136.  
  137.  
  138.  
  139.     Several switches are recognized.  While shown as being preceded by a "/"
  140.     for the sake of clarity, the program accepts any character between space
  141.     [ ] and slash [/] as a switch delimiter [!"#$%&'()*+,-.].  Nonrecognized
  142.     switches abort loading of the program.  Switches are not case sensitive.
  143.  
  144.     NOTE:  Options marked with an asterisk (*) are available in the shareware
  145.            versions of BLANKs only.
  146.  
  147.  
  148.  
  149.         /U    Uninstall.   Use only when BLANKs was the last resident to be
  150.               installed, as otherwise this would create a "hole" in memory.
  151.  
  152.               The request is not honored if vectors to interrupts 8, 9 and
  153.               10h have been changed since installation.  This can be caused
  154.               by a resident installed after BLANKs, or by a prior resident
  155.               that changes vectors set by programs installed after it. You
  156.               can determine if this is the case by using any of the memory
  157.               mapping programs that are available (search for interrupts 8
  158.               9 and 10; BLANKs.COM will be shown as an unnamed entry using
  159.               736 or 656 bytes, depending on the switch selection.) 
  160.  
  161.  
  162.  
  163.         /C    Clone to disk the current version of BLANKs installed in the
  164.               memory.(*)  This permits making the settings of this version
  165.               the default ones.
  166.  
  167.                    If the /C switch is entered in the command line alone,
  168.                    default parameters do not become effective (unlike the
  169.                    case of any other single switch specification) and the
  170.                    resident parameters are copied to the cloned file.
  171.  
  172.                    If other switches or parameters are entered along with
  173.                    /C, these new parameters and, when applicable, defaults
  174.                    become effective, and are copied to the cloned file.
  175.  
  176.               The clone file BLANKs.COM is written to the default drive and
  177.               directory.  A warning is given if a file with the same name is
  178.               present there, and the user has the option to overwrite it or
  179.               to abort the cloning.  Cloning will not overwrite files other
  180.               than those with a normal or archive attribute, or both.
  181.  
  182.  
  183.  
  184.         /H    Hotkey switch.  In addition to timed screen blanking, BLANKs
  185.               allow for manual blanking of the screen by pressing a hotkey
  186.               combination.  This combination is CTRL-B in the nonshareware
  187.               version of the program (see below).  When BLANKs detects the
  188.               hotkey, it removes it from the keyboard buffer.  However, be
  189.               aware that programs loaded after BLANKs may save this input;
  190.               this is the case, for instance, with some word processors in
  191.               which it is necessary to erase the hotkey character from the
  192.               text.   In the shareware version, the hotkey combination can
  193.               be changed in case of assignment conflicts.
  194.  
  195.  
  196.               /H+  Enable hotkey operation.  This is the default condition
  197.                    when an argument is not specified for this switch.
  198.  
  199.  
  200.               /H-  Disable hotkey operation.  Can be reenabled with /H+.
  201.  
  202.  
  203.               /H?  Allow the selection of a different hot-key combination.(*)
  204.                    Valid combinations include an alphanumeric key and one of
  205.                    more of the following shift keys:  CTRL, ALT, left-SHIFT,
  206.                    right-SHIFT.   For obvious reasons, CTRL or ALT, or both,
  207.                    must be included in the hotkey combination.
  208.  
  209.  
  210.  
  211.         /Ax   Force configuration to specified adapter.  This switch bypasses
  212.               the automatic configuration of the program for the video adapter
  213.               detected at the time of (each) calling.  Valid specifications for
  214.               this switch are:
  215.  
  216.               /Am   configuration for the IBM Monochrome Display Adapter (MDA)
  217.                     and Hercules graphics cards (HGA, HGA plus, and In Color);
  218.                     uses and restores bit 3 of the video port 3B8h.
  219.  
  220.               /Ac   configuration for the IBM Color Graphics Adapter (CGA), the
  221.                     Multi Color Graphics Array (MCGA) and compatibles; uses and
  222.                     restores bits 0-3 of port 3D9h and bit 3 of port 3D8h.
  223.  
  224.               /Ae   configuration for the IBM Enhanced Graphics Adapter (EGA)
  225.                     and compatibles; reads video ports 3BAh and 3DAh, and uses
  226.                     and restores bit 5 of port 3C0h.
  227.  
  228.               /Av   configuration for the Video Graphics Array (VGA); uses port
  229.                     3C4h, and uses and restores bit 5 of port 3C5h.
  230.  
  231.  
  232.               This configuration can be preserved as a default upon cloning of
  233.               (the shareware version of) BLANKs.  Switch /A is useful when the
  234.               video adapter type is incorrectly identified by BLANKs or when an
  235.               "unknown" identification result is obtained (see the Help display
  236.               called by the option "?").  See the above NOTICE on compatibility.
  237.                                           --------------------------------------
  238.  
  239.  
  240.         /V    Force monitoring of video activity mediated by BIOS (and DOS) calls
  241.               to interrupt 10h, and by (Microsoft) Mouse calls to interrupt 33h.
  242.               If enabled, the switch avoids the timed blanking of the screen when
  243.               such video activity is detected; the switch is not effective during
  244.               manual blanking of the screen, however, which can unblanked only by
  245.               keyboard activity.
  246.  
  247.               Notice that the video output of some programs is not made via these
  248.               interrupts and therefore their activity will not be detected.  Some
  249.               mouse drivers, as noted above, can freeze the machine if they found
  250.               that interrupt 33h is being used by another utility.  Hence, if you
  251.               you have such a driver and do not want to install it before BLANKs,
  252.               BLANKs needs to be installed with the "/K[+]" switch or uninstalled
  253.               before installing the driver and then reinstalled (with the "/V[+]"
  254.               if desired) via a batch file.
  255.  
  256.  
  257.               /V+  Enable video activity monitoring.  This is the default when an
  258.                    argument is not specified for this switch.
  259.  
  260.               /V-  Disable video activity monitoring.
  261.  
  262.  
  263.                    Switch /V is disabled when "/K[+]" (see below) is specified
  264.                    or when a clone with a "/K[+]" default has been created. In
  265.                    the latter case, a new clone with a "/K-" default will have
  266.                    to be created to reenable monitoring of video activity (see
  267.                    Bypassing Interrupts).
  268.  
  269.  
  270.  
  271.         /K    Force monitoring of keyboard activity only.  When enabled at the time
  272.               of installation, this switch installs a shorter resident component of
  273.               less than 660 bytes that disregards video activity.   Because of the
  274.               potential of hanging the computer if an uninstall request were to be
  275.               made after a change in the status of this switch, reinvocation of the
  276.               program ignores all "/K" switch requests, except for cloning purposes
  277.               (in which case it is not recommended to uninstall the program with the
  278.               cloned version).
  279.  
  280.               NOTE:  To change the status of this switch, uninstall BLANKs and then
  281.                      invoke it with the appropriate argument.  
  282.  
  283.               /K+  Enables monitoring of keyboard activity only. This is the default
  284.                    when an argument is not specified for this switch.  When enabled,
  285.                    the status of switch /V is ignored.  (Resident = 656 bytes.)
  286.  
  287.               /K-  Disables exclusive monitoring of keyboard.  To also monitor video
  288.                    activity the /V switch must be enabled.  (Resident = 736 bytes.)
  289.  
  290.  
  291.  
  292.  
  293.                                 ----------------
  294.  
  295.     RELEASE:
  296.               The BLANKs utilities and the documentation (the "software")
  297.               are copyrighted by the author.  In the present nonshareware
  298.               form, they are distributed free of charge for NONCOMMERCIAL
  299.               PERSONAL USE ONLY.  
  300.  
  301.               Although the nonshareware version of BLANKs lacks a few of
  302.               the features noted above, it is a completely usable program.
  303.               Notice that support is not provided for this version.
  304.  
  305.               The shareware versions of the programs cost $7 plus mailing,
  306.               and can be ordered from the address below (360 kb diskette).
  307.               Indicate whether an 80286 or an 8086 version is applicable;
  308.               the 80286 version does not check for CGA "snow."
  309.  
  310.  
  311.                                 ----------------
  312.  
  313.     LICENSE and INJUNCTIONS
  314.  
  315.           The copyright owner hereby licenses you, free of charge, to:
  316.  
  317.              1. Use this software for noncommercial, personal purposes.
  318.              2. Make as many copies of the software as desired.
  319.              3. Distribute the software including via electronic means.
  320.  
  321.  
  322.           The copyright owner hereby specifically prohibits you from:
  323.  
  324.              1. Charging or asking donations for copies of this software.
  325.              2. Distributing the software with commercial products without
  326.                 a written permission from the owner.
  327.              3. Distributing the software via a for-profit organization,
  328.                 either alone or with other software.
  329.  
  330.         Any other use is prohibited without express, written permission in
  331.         advance from the copyright owner.
  332.  
  333.  
  334.                                 ----------------
  335.  
  336.     DISCLAIMER:
  337.  
  338.               The author makes no warranty, either implied or expressed,
  339.               including, without limitation, any warranties with respect
  340.               to the software documented here, its quality, performance,
  341.               or fitness for any particular purpose.   In no event shall
  342.               the author be liable for damage, whether direct, indirect,
  343.               special, incidental, or consequential, that arise from the
  344.               use of or any defect in the software.   The entire risk as
  345.               to the quality and performance of the software is with the
  346.               user.  By using this program, you acknowledge: (1) to have
  347.               read and understood all parts of the disclaimer and (2) to
  348.               have agreed with and accepted all of its provisions.
  349.  
  350.  
  351.                                 ----------------
  352.  
  353.  
  354.               Refer all inquiries to:    F.M. de Monasterio
  355.                                          7013 Barkwater Ct.
  356.                                          Bethesda, Md 20817
  357.  
  358.  
  359.               Messages may be left at:   The DC Information Exchange BBS
  360.                                          202-433-6639
  361.                                          Sysop: Bill Walsh; 2400/1200 bps
  362.  
  363.  
  364.  
  365.